package com.demo.service;

import com.demo.pojo.Result;
import com.demo.pojo.User;

import java.util.List;

public interface UserService2 {
    Result<User> getUser(Integer id);

    Result<List<User>> getAll();

    Result<Void> deleteUser(Integer id);
}
